<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set value="${pageContext.request.contextPath}" var="ctx" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../statics/css/style.css" />

<script type="text/javascript" src="../statics/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="../statics/js/menu.js"></script>
<script type="text/javascript" src="../statics/js/cart.js"></script>
<script type="text/javascript" src="../statics/js/n_nav.js"></script>
<script type="text/javascript">
	var contextPath = "${ctx}";
</script>
<script type="text/javascript" src="../statics/js/select.js"></script>

<script type="text/javascript" src="../statics/js/num.js">
	var jq = jQuery.noConflict();
</script>

<script type="text/javascript" src="../statics/js/shade.js"></script>

<title>二组牛逼</title>
</head>
<body>
	<%@ include file="../common/header.jsp"%>
	<%@include file="../common/top.jsp"%>


	<%@include file="../common/Category.jsp"%>
	<div class="i_bg">
		<div class="content mar_20">
			<img src="../statics/images/img2.jpg" />
		</div>

		<!--Begin 第二步：确认订单信息 Begin -->
		<div class="content mar_20">
			<div class="two_bg">
				<div class="two_t">
					<span class="fr"><a href="BuyCar.jsp">修改</a> </span>商品列表
				</div>
				<%@include file="../common/BuyCarTwo.jsp"%>
				<div class="two_t">
					<span class="fr"><a href="#">修改</a> </span>收货人信息
				</div>
				<table border="0" class="peo_tab" style="width:1110px;"
					cellspacing="0" cellpadding="0">
					<tr>
						<td class="p_td" width="160">用户名称</td>
						<td width="395">${LoginUser.userName}</td>
						<td class="p_td" width="160">登录名称</td>
						<td width="395">${LoginUser.loginName}</td>
					</tr>
					<tr>
						<td class="p_td">手机</td>
						<td>${LoginUser.mobile}</td>
						<td class="p_td">电子邮件</td>
						<td>${LoginUser.email}</td>
					</tr>
				</table>
				<div class="two_t">配送地址</div>
				<table border="0" class="car_tab" style="width:1110px;"
					cellspacing="0" cellpadding="0">
					<tr>
						<td class="car_th" width="80"></td>
						<td class="car_th" width="200">备注</td>
						<td class="car_th" width="370">地址</td>
					</tr>
					<c:forEach items="${addressList}" var="address" varStatus="v">
						<tr>
							<c:if test="${address.isDefault==1}">
								<td align="center"><input type="radio" name="selectAddress"
									value="${address.address}" checked />
								</td>
							</c:if>
							<c:if test="${address.isDefault==0}">
								<td align="center"><input type="radio" name="selectAddress"
									value="${address.address}" />
								</td>
							</c:if>
							<td align="center" style="font-size:14px;"><b>${address.remark}</b>
							</td>
							<td align="center">${address.address}</td>
						</tr>
					</c:forEach>
					<tr>
						<td align="center"><input type="radio" name="selectAddress"
							value="-1" />
						</td>
						<td align="center" style="font-size:14px;"><b>新地址</b>
						</td>
						<td align="center">地址：<input type="text" name="address" />
							备注：<input type="text" name="remark" /></td>
					</tr>
				</table>
				<table border="0" style="width:900px; margin-top:20px;"
					cellspacing="0" cellpadding="0">
					<tr height="70">
						<td align="right"><b style="font-size:14px;">应付款金额：<span
								style="font-size:22px; color:#ff4e00;">￥${sessionScope.cart.sum}</span>
						</b></td>
					</tr>
					<tr height="70">
						<td align="right"><a href="javascript:submit()"><img
								src="../statics/images/btn_sure.gif" /> </a>
						</td>
					</tr>
				</table>


			</div>
		</div>
		<!--End 第二步：确认订单信息 End-->


		<%@include file="../common/footer.jsp"%>
	</div>

</body>
</html>
